package gui.houseeditor;

import java.util.List;

import util.Casella;
import attori.sensori.Sensore;

public interface HouseModel {

	// public static enum HouseObject{ HOLE,TILE,WALL,PLAYER,BLANK }
	public static enum HouseObject {
		PORTA, LAMPADINA_SPENTA, LAMPADINA_ACCESA, WALL, PERSONA, BLANK, WALKER
	}

	public void addHouseDataListener(HouseDataListener l);

	public void removeHouseDataListener(HouseDataListener l);

	public HouseObject getCell(int x, int y);

	public void setCell(HouseObject o, int x, int y);

	public List<Casella[]> getPorte();

	public List<Casella[][]> getAreaPorte();

	public int getWidth();

	public int getHeight();

	public List<Stanza> getStanze();

	public void setStanze(List<Stanza> stanze);

	public void addStanza(Stanza s);

	public void addSensore(Sensore s);

	public List<Sensore> getSensoriPorta();

	public void temperaturaModificata(Stanza s);

	public Stanza getStanza(Casella c);

	void setCell(HouseObject o, int x, int y, WalkerImage toDraw);
}